package lp.xian.production.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.math.BigDecimal;
import java.util.Date;
@Data
public class ProductionInventoryVo extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键递增 */
    private Integer productionInventoryId;


    /** 成品名称 */
    @Excel(name = "成品名称")
    private String finishedProductName;

    /** 成品数量 */
    @Excel(name = "成品数量")
    private Integer finishedProductNum;

    /** 成品单位 */
    @Excel(name = "成品单位")
    private String finishedProductUnit;

    /** 损耗名称 */
    @Excel(name = "损耗名称")
    private String lossName;

    /** 损耗数量 */
    @Excel(name = "损耗数量")
    private Integer lossNum;

    /** 损耗单位 */
    @Excel(name = "损耗单位")
    private String lossUnit;

    /** 带班人员 */
    @Excel(name = "带班人员")
    private String fristDuty;

    /** 联系电话 */
    @Excel(name = "联系电话")
    private String fristDutyPhone;

    /** 班次 */
    @Excel(name = "班次")
    private String gradeClass;

    /** 上班时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "上班时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private String officeTime;

    /** 下班时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "下班时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private String offTime;

    /** 上班人数 */
    @Excel(name = "上班人数")
    private Integer officeNum;

    /** 审核状态 */
    @Excel(name = "审核状态")
    private Integer auditStatus;

    /** 审核意见 */
    @Excel(name = "审核意见")
    private String auditOpinion;


    /** 审核人 */
    @Excel(name = "审核人")
    private String auditPerson;

    /** 审批意见 */
    @Excel(name = "审批意见")
    private String approverOpinion;





    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("productionInventoryId", getProductionInventoryId())

                .append("finishedProductName", getFinishedProductName())
                .append("finishedProductNum", getFinishedProductNum())
                .append("finishedProductUnit", getFinishedProductUnit())
                .append("lossName", getLossName())
                .append("lossNum", getLossNum())
                .append("lossUnit", getLossUnit())
                .append("fristDuty", getFristDuty())
                .append("fristDutyPhone", getFristDutyPhone())
                .append("gradeClass", getGradeClass())
                .append("officeTime", getOfficeTime())
                .append("offTime", getOffTime())
                .append("officeNum", getOfficeNum())
                .append("auditStatus", getAuditStatus())
                .append("auditOpinion", getAuditOpinion())

                .append("auditPerson", getAuditPerson())
                .append("approverOpinion", getApproverOpinion())

                .append("remark", getRemark())
                .append("createBy", getCreateBy())
                .append("createTime", getCreateTime())
                .append("updateBy", getUpdateBy())
                .append("updateTime", getUpdateTime())
                .toString();
    }

}
